<div class="block">
<h2><p class="tilte-detail"><?php echo $rec['News']['title']?></p></h2>
<div style="margin-bottom:5px; margin-top:3px;" class="content-detail">
<?php
    $n=explode('-',$rec['News']['ngaydang']);
    if(count($n)>2)
        echo "Ngày đăng".": ".date('d/m/Y',mktime(0,0,0,$n[1],$n[2],$n[0]));
?>

</div>
<div class="description-detail"><?php echo $rec['News']['shortcontent']?></div>
<div class="content-detail"><?php echo $rec['News']['longcontent']?></div>
<div class="content-author"><?php echo $rec['News']['author']?></div>
<div style='clear:both;'></div>
</div>